/***************************************************************************/
/* NOTE:                                                                   */
/* This document is copyright (c) by Oz Solomonovich.  All non-commercial  */
/* use is allowed, as long as this document not altered in any way, and    */
/* due credit is given.                                                    */
/***************************************************************************/

#if !defined(AFX_DSWINDOW_H__6A06C13A_4748_11D1_BC91_0000010016A6__INCLUDED_)
#define AFX_DSWINDOW_H__6A06C13A_4748_11D1_BC91_0000010016A6__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// DSWindow.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDSWindow window

class CTabBarsWnd;

//##ModelId=431C34CB030D
class CDSWindow : public CTabManagerWindow
{
// Construction
public:
	//##ModelId=431C34CB030F
    CDSWindow(IGenericWindow *pGWindow, HWND hDSWindow, 
        CTabBarsWnd *pTabsWnd);

// Attributes
public:
	//##ModelId=431C34CB031F
    bool SetManaging(bool bManaging);
	//##ModelId=431C34CB032D
    HWND GetSaferHwnd();

// Operations
public:

// Overrides
    // ClassWizard generated virtual function overrides
    //{{AFX_VIRTUAL(CDSWindow)
    //}}AFX_VIRTUAL

// Implementation
public:
	//##ModelId=431C34CB033C
    virtual ~CDSWindow();

    // Generated message map functions
protected:

    //{{AFX_MSG(CDSWindow)
	//##ModelId=431C34CB033E
    afx_msg void OnWindowPosChanging(WINDOWPOS FAR* lpwndpos);
	//##ModelId=431C34CB034B
    afx_msg void OnDestroy();
	//##ModelId=431C34CB035B
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	//##ModelId=431C34CB036C
    DECLARE_MESSAGE_MAP();

	//##ModelId=431C34CB036D
    void PostNcDestroy();

	//##ModelId=431C34CB036E
    UINT  m_idTimer;
	//##ModelId=431C34CB037A
    UINT  m_iTimerCount;
	//##ModelId=431C34CB038A
    int   m_cResizeRef;  // reference counting for resize handler
	//##ModelId=431C34CB038B
    BOOL  m_bLastZoom;
	//##ModelId=431C34CB039A
    SnapOrientations m_LastOrientation;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DSWINDOW_H__6A06C13A_4748_11D1_BC91_0000010016A6__INCLUDED_)
